package com.moon.game.vos;

import java.io.Serializable;

import com.moon.game.vos.PlayerVo.Tower;

/**
 * 出租bean
 * 
 * @author Ranger
 * 
 */
public class RentLairBean implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Tower tower;
	private String sid;
	private String pid;
	private String hostName;// 出租者的姓名
	private int sex;// 出租者的性别
	private int incubationPrice;
	private int rentingTimes = 0;// 续租次数，正常出租此值为0

	/**
	 * @param tower
	 * @param sid
	 * @param pid
	 * @param incubationPrice
	 * @param hostName
	 * @param sex
	 */
	public RentLairBean(Tower tower, String sid, String pid,
			int incubationPrice, String hostName, int sex) {
		this.tower = tower;
		this.sid = sid;
		this.pid = pid;
		this.hostName = hostName;
		this.sex = sex;
		this.incubationPrice = incubationPrice;
	}

	public Tower getTower() {
		return tower;
	}

	public void setTower(Tower tower) {
		this.tower = tower;
	}

	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getHostName() {
		return hostName;
	}

	public void setHostName(String hostName) {
		this.hostName = hostName;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public int getIncubationPrice() {
		return incubationPrice;
	}

	public void setIncubationPrice(int incubationPrice) {
		this.incubationPrice = incubationPrice;
	}

	public int getRentingTimes() {
		return rentingTimes;
	}

	public void addRentingTimes() {
		rentingTimes++;
	}
}
